package com.stu.disruptor.test;

import com.lmax.disruptor.EventHandler;

/**
 * 发送验证短信
 * @author lcy
 *
 */
public class SendMsgHandler implements EventHandler<TransactionEvent> {

    @Override
    public void onEvent(TransactionEvent arg0, long arg1, boolean arg2) throws Exception {
        Thread.sleep(2000);
         System.out.println("向手机号:"+arg0.getCallNumber()+"发送验证短信......");
    }
}